package com.gaga.console.core.service.impl.multimodel;

import com.gaga.common.constant.BvConstants;
import lombok.extern.slf4j.Slf4j;

/**
 * @author liujia
 * @version 1.0
 * @date 2025/4/9-10:03
 */
@Slf4j
public class AssitantModelHandler extends AbstractModelHandler {

    @Override
    public String getCurrentModel() {
        return sysConfigService.getConfigValueByKey(BvConstants.CURRENT_MODEL_NAME_9875);
    }

    @Override
    public String getRealPort() {
        //如果是单模型的话，则返回9876
        switch (singleDoubleModelType) {
            case DOUBLE:
                return "9875";
            case SINGLE:
                return "9876";
            case COMPATIBLE:
                return "9881";
        }
        return "9876";

    }

    @Override
    public String getRefAudioPathKey() {
        return BvConstants.REF_AUDIO_PATH_9875;
    }

    @Override
    public String getPromptTextKey() {
        return BvConstants.PROMPT_TEXT_9875;
    }

    @Override
    public String getCurrentModelKey() {
        return BvConstants.CURRENT_MODEL_NAME_9875;
    }
}
